package com.wish.wishfinancial_service.mapper;

import com.wish.wishfinancial_service.entity.TFkBusinessCredit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import dto.financialservice.ViewDetailsRequestDto;
import dto.financialservice.ZJFInformation;

/**
 * <p>
 * 风控公寓授信主表 Mapper 接口
 * </p>
 *
 * @author weijiaz
 * @since 2021-04-11
 */
public interface TFkBusinessCreditMapper extends BaseMapper<TFkBusinessCredit> {

    void updateFkBusinessCreditSub(ZJFInformation findById);

    TFkBusinessCredit queryObjectBusinessId(Long businessId);

    ZJFInformation findByBusinessAndProductId(ViewDetailsRequestDto viewDetailsRequestDto);
}
